#include "../app/app_message.h"

int main(void) {
    char *message = "{\"connect_type\":1,\"ID\":\"5858\",\"msg\":\"61626364\"}";
    log_info("%s",message);
    char  arr[11] = {0};
    int data_len = app_message_JsonToCharArray(message,arr, 11);
    log_info("%3s,len :%d",arr,data_len);
    char *json = app_message_ArrayTocJson(arr, data_len);
    log_info("%s",json);
    return 0;
}